<?php

/** @var \Laravel\Lumen\Routing\Router $router */

/*
|--------------------------------------------------------------------------
| Application Routes
|--------------------------------------------------------------------------
|
| Here is where you can register all of the routes for an application.
| It is a breeze. Simply tell Lumen the URIs it should respond to
| and give it the Closure to call when that URI is requested.
|
*/
//用户、登录、权限管理路由模块，不想使用可以注释
require_once __DIR__ . '/BackHome.php';
require_once __DIR__ . '/AppHome.php';
require_once __DIR__ . '/MiniHome.php';

$router->get('/', ['uses' => 'ExampleController@index']);
//测试接口
$router->post('/test', ['uses' => 'ExampleController@test']);
//ApiSign 测试接口
$router->post('/sign', ['uses' => 'ExampleController@checkSign', 'middleware'=>['checkApiSign']]);

